#ifndef __MULTIPATH_H__
#define __MULTIPATH_H__
#include "main.h"

float convert_dB_to_multiple(char dB);
void ad9959_change_mod_signal_amp(uint16_t Ma_percent);
void ad9959_change_carrier_wave_freq(uint16_t carrier_wave_freq_MHz);
void ad9959_change_mod_signal_freq(uint16_t mod_signal_freq_MHz);
void ad603_change_carrier_wave_amp(uint16_t amp_effective_mV, uint16_t carrier_wave_freq_MHz, uint16_t Ma_percent);
void set_DAC1_value(uint32_t value);
void set_DAC2_value(uint32_t value);
float map_control_voltage_V_for_ad603(char dB);
float convert_effective_mV_to_Vpp_mV(float effective_mV);
uint16_t map_Vpp_mV_for_ad9959(float Vpp_mV);
float convert_tau_ns_to_phi_degree(uint16_t tau_ns, uint16_t freq_MHz);
uint16_t map_phase_degree_for_ad9959(float phase_degree);
void ad9959_change_multipath_phase(uint16_t tau_ns, uint16_t phi_degree, uint16_t mod_signal_freq_MHz, uint16_t carrier_wave_freq_MHz);

#endif /* __MULTIPATH_H__ */
